package com.mp.approvalreq.servlet.operate;

import com.alibaba.fastjson.JSONObject;
import com.mp.approvalreq.entity.Request;
import com.mp.approvalreq.service.ApprovalOperateServicePrx;
import com.mp.approvalreq.servlet.AbstractServlet;
import com.mp.approvalreq.util.ServiceUtils;
import com.mp.user.entity.User;
import com.plusmoney.exception.RpcServerLogicalException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 撤回我的批准
 *
 * @author Administrator
 */
@Deprecated
@WebServlet("/callBackMyApprove")
public class CallBackMyApprove extends AbstractServlet {

	private static final long serialVersionUID = -6524473373623928868L;

	private static final Logger logger = LoggerFactory.getLogger(CallBackMyApprove.class);

	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		doPost(req, resp);
	}

	/**
	 * 数据格式:{"requestDkey":,"templateId":,"version":}
	 */
	@Override
	protected void doPost(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		remindUpdate(resp);
	}

}
